home *** CD-ROM | disk | FTP | other *** search
/ Internet Tools (InfoMagic) / Internet Tools.iso / dos_win / winsock / maillist / 94-05.Z / 94-05 / 000050_news@bigblue.oit.unc.edu_Fri May 2 01:20:50 1994.msg < prev    next >
Internet Message Format  |  1994-05-31  |  13KB

  1. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  2.           id AA23893; Wed, 4 May 1994 03:32:33 -0400
  3. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  4.           id AA30187; Wed, 4 May 1994 03:13:22 -0400
  5. Received: from GATEWAY by bigblue with netnews
  6.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  7. To: winsock@sunsite.unc.edu
  8. Date: 2 May 1994 01:20:50 GMT
  9. From: jnlin@netrd.net.tw (jnlin)
  10. Message-Id: <2q1khi$iq2@news.csie.nctu.edu.tw>
  11. Organization: III
  12. Sender: ses
  13. Subject: How may I use global variables in my own blocking hook function?
  14.  
  15.  
  16. Hi,
  17.  
  18.     I have a question about the blocking hook function.
  19.  
  20.     According to winsock spec, I may use WSASetBlockingHook() to set
  21. my own blocking hook function. But there's a problem, how may I use the
  22. global variables in the blocking hook function?
  23.  
  24.     For example,
  25.  
  26.     int bar = 1;
  27.  
  28.     BOOL myownblk(void)
  29.     {
  30.       ...
  31.       bar = 2;
  32.       ...
  33.     }
  34.  
  35.     ...
  36.     WSASetBlockingHook((FARPROC) myownblk);
  37.     ...
  38.  
  39.  
  40.     I know that winsock.dll does really call my blocking hook function
  41. when I call a blocking call, but the global variable bar does not change
  42. value after returning from the blocking call. I think that it is because
  43. the DLL and AP use different data segments. If I declare the variable bar
  44. as "int far", it will be set to 2 after the blocking call, but I can only
  45. run one instance of the AP. 
  46.  
  47.     Is there any one who can tell me how may I use the global variable
  48. in my own blocking hook function and run more than one instance of the
  49. AP?
  50.  
  51.     Thanks!
  52.  
  53. Lin Jyun-Naih
  54. From news@bigblue.oit.unc.edu Thu May  1 18:56:45 1994
  55. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  56.           id AA23901; Wed, 4 May 1994 03:32:34 -0400
  57. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  58.           id AA20084; Wed, 4 May 1994 03:12:54 -0400
  59. Received: from GATEWAY by bigblue with netnews
  60.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  61. To: winsock@sunsite.unc.edu
  62. Date: 01 May 1994 18:56:45 GMT
  63. From: rushing@squirl.oau.org (Samual M Rushing)
  64. Message-Id: <RUSHING.94May1145647@squirl.oau.org>
  65. Organization: Somewhere in Orlando, FL
  66. Sender: ses
  67. References: <2poml8$a8o@darum.uni-mannheim.de>, <2pr5lf$o03@eagle.lerc.nasa.gov>
  68. Subject: Re: WinVN News Reader: how can I place *.ini-File in other dir
  69.  
  70. >>>>> "pn" == Paul Noble <xxnoble@lims01.lerc.nasa.gov> writes:
  71. In article <2pr5lf$o03@eagle.lerc.nasa.gov> xxnoble@lims01.lerc.nasa.gov (Paul Noble) writes:
  72.  
  73.   pn> In article <2poml8$a8o@darum.uni-mannheim.de>,
  74.   pn> mlu@zew.zew-mannheim.de (Michael Luebbeke) says:
  75.  
  76.   >> It would be fine, if I could place this *.ini file an a special
  77.   >> dir or, even better, if I can control the location of the
  78.   >> ini-File via environment var.
  79.  
  80.   pn> So I guess, you could have seperate icons for each user,
  81.   pn> pointing to his/her own icon.  This is not very pretty. I'm not
  82.   pn> sure what the best way to segregate the .INI files for the
  83.   pn> various users is, but there is probably a way to do it.
  84.  
  85. There are several different ways to control the location of the
  86. .ini and newsrc files.
  87.  
  88. 1) 'WINVN' environment variable.  You need to do this before starting
  89.    Windows.  (good for lan-manager type environments where the user has
  90.    a connected login directory.)
  91.    set winvn=c:\winvn\serverx
  92.  
  93. 2) On the command line (set via ProgMan..Properties...) For example:
  94.    You can specify either the directory to look for them in, or manually
  95.    locate each:
  96.  
  97.    c:\winvn\winvn.exe c:\winvn\serverx   (.ini and newsrc in the serverx dir)
  98.    c:\winvn\winvn.exe u:\users\me\winvn.ini u:\users\me\news\newsrc.x
  99.  
  100. 3) setting the current directory differently, as you've discovered.
  101.  
  102. -Sam
  103.  
  104. the latest version of winvn (currently 0.90.5) is always available from
  105. ftp.ksc.nasa.gov (128.159.4.20) in the directory pub.win3.winvn
  106. winvnstd090_5 is for winsock
  107. winvnpwk090_5 is for pathworks/lanman
  108. From news@bigblue.oit.unc.edu Sat Apr 30 20:16:23 1994
  109. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  110.           id AA28729; Wed, 4 May 1994 04:02:30 -0400
  111. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  112.           id AA20182; Wed, 4 May 1994 03:50:44 -0400
  113. Received: from GATEWAY by bigblue with netnews
  114.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  115. To: winsock@sunsite.unc.edu
  116. Date: Sat, 30 Apr 1994 20:16:23 GMT
  117. From: ufm2t@fulton.seas.Virginia.EDU (Usman)
  118. Message-Id: <Cp39nB.Er6@murdoch.acc.Virginia.EDU>
  119. Organization: University of Virginia
  120. Sender: ses
  121. Subject: Question: SLIP using Chameleon's Newt
  122.  
  123. I just setup Newt to work with my school's SLIP server.  However, there is
  124. one problem.  The SLIP server does not provide dynamic IP addresses but
  125. instead gives you access to the first SLIP connection that is open and
  126. not being used by another user.  This way, each time that IP address
  127. changes.  It's not static, but I was told that it's also not dynamic.
  128. How can I get Chameleon WinSock to work with my local SLIP server?
  129. The IP address and the Domain Server address changes each time.  The
  130. first three numbers in the address remain the same, but the last one
  131. changes.  I am hoping that someone on this newsgroup can help me with
  132. this dilemma.  Please respond via email (preferably).  Thank you very
  133. much.
  134.  
  135.  
  136. --
  137. .............................................................................
  138.  CompuServe: 71604,400                          Usman Malik
  139.  Internet: umalik@virginia.edu                   University of Virginia
  140. .............................................................................
  141. From news@bigblue.oit.unc.edu Sat Apr 30 01:42:17 1994
  142. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  143.           id AB04133; Wed, 4 May 1994 04:32:30 -0400
  144. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  145.           id AA20047; Wed, 4 May 1994 04:08:28 -0400
  146. Received: from GATEWAY by bigblue with netnews
  147.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  148. To: winsock@sunsite.unc.edu
  149. Date: Sat, 30 Apr 1994 01:42:17 GMT
  150. From: jschmidt@renoir.cftnet.com (John G. Schmidt)
  151. Message-Id: <jschmidt.7.0014B4A1@renoir.cftnet.com>
  152. Organization: CFTnet
  153. Sender: ses
  154. Subject: Mosaic problems
  155.  
  156. HELP!!! please!!!
  157. I am having a problem with mosaic (2.0A I think).  It runs ok for about 5-10 
  158. minutes, then *BANG* I'm faced with a TOTALLY BLANK screen and a cursor (a la 
  159. DOS), no windows, no DOS, no nuthhin.  Only a hard reset gets my system back 
  160. up and running.
  161.  
  162. Has anyone else experienced this behavior (and associated frustration) with 
  163. Mosaic or any other winsock application?
  164.  
  165. Thanks,
  166.  
  167. John Schmidt
  168. From news@bigblue.oit.unc.edu Wed May  4 05:02:30 1994
  169. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  170.           id AA07980; Wed, 4 May 1994 05:02:30 -0400
  171. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  172.           id AA20117; Wed, 4 May 1994 04:55:51 -0400
  173. Received: from GATEWAY by bigblue with netnews
  174.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  175. To: winsock@sunsite.unc.edu
  176. Date: Thu, 28 Apr 1994 20:00:07
  177. From: walstrom@mr.net (Tom Walstrom)
  178. Message-Id: <walstrom.30.001400BE@mr.net>
  179. Organization: Legislative Auditor
  180. Sender: ses
  181. References: <cass-270494003947@cass.digex.net>, <jones.31.00002F17@cbdb1.nimh.nih.gov>
  182. Subject: Re: Opinion please: best Win SLIP setup
  183.  
  184. In article <jones.31.00002F17@cbdb1.nimh.nih.gov> jones@cbdb1.nimh.nih.gov (Doug Jones) writes:
  185. >From: jones@cbdb1.nimh.nih.gov (Doug Jones)
  186. >Subject: Re: Opinion please: best Win SLIP setup
  187. >Date: Thu, 28 Apr 1994 05:11:02 GMT
  188.  
  189. >In article <cass-270494003947@cass.digex.net> cass@digex.net (Cass Tyson)
  190. >writes:
  191. >>Hi, all!
  192. >>I'm putting my Dad's 486 on the net in the next few days. Having just set
  193. >>him up with a SLIP account and a 14,4 modem, I'd like to set it up with the
  194. >>best set of TCP tools available under Windoze. Imagine you were starting
  195. >>from scratch:
  196. >>What do you consider indispensible? (For that matter, what must I have?)
  197. >>What should be avoided? 
  198. >>Does any one package come with everything, that is, tools for news, e-mail,
  199. >>irc, telnet, gopher, ftp, finger, WAIS and WWW (did I leave anything out?),
  200. >>or will I have to fetch everything separately?
  201. >>Also, can you steer me in the direction of the faqs on what you recommend?
  202. >>Cass Tyson
  203. >>cass@digex.net
  204. >>(email if you prefer, but I'd rather see people fight it out here in the
  205. >>trenches)  ;-)
  206.  
  207. >Sure, I'll jump right into the trenches and give you my opinion, for what its
  208. >worth. Based on my evaluations I'd recommend
  209.  
  210. >WinQVT/Net for its telnet (it is the most "complete" package with FTP,
  211. >                        mail,  news etc. also available, but I prefer other
  212. >                        implementations for those  things);
  213.  
  214. Agreed, best telnet client currently available.
  215.  
  216. >WS_FTPis the most awesomely good ftp I've ever seen;
  217.  
  218. Great program.
  219.  
  220. >Eudora is my favorite for e-mail;
  221.  
  222. WinPmail is my favorite.  The current version has standalone pop3 support. 
  223. It's much more robust, mail filtering etc than Eudora14 anyway.  I haven't 
  224. used the commercial eudora.
  225.  
  226. >Hgopher is my pick of the gopher clients;
  227.  
  228. Hgopher is OK.  I prefer WSGopher myself.
  229.  
  230. >Trumpet Newsreader edges out WinVN in my opinion;
  231.  
  232. No contest, Trumpet is better. 
  233.  
  234. >Mosaic is a slight preference over Cello for WWW client
  235. >              both are nice, both have problems, both have potential...
  236.  
  237. Both are great.  Get them both.  You will see when it is best to use one vs. 
  238. the other.
  239.  
  240. >That's pretty much my picks for essentials - I've done my WAIS stuff
  241. >through Veronica sites with  Hgopher and I recently found Archie
  242. >access through WWW with Mosaic. I've never found any need for
  243. >(or for that matter any use for) irc or finger, so I can't help you there.
  244.  
  245.  
  246. Me too.  You might try winwais for a wais client though.
  247.  
  248. Good luck,
  249.  
  250. Tom
  251. From news@bigblue.oit.unc.edu Tue May  3 19:46:18 1994
  252. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  253.           id AA11128; Wed, 4 May 1994 05:32:30 -0400
  254. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  255.           id AA19140; Wed, 4 May 1994 05:04:32 -0400
  256. Received: from GATEWAY by bigblue with netnews
  257.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  258. To: winsock@sunsite.unc.edu
  259. Date: Tue, 3 May 1994 19:46:18 GMT
  260. From: peterson@lclark.edu (Leland Peterson)
  261. Message-Id: <1994May3.194618.9869@lclark.edu>
  262. Organization: Lewis & Clark College, Portland OR
  263. Sender: ses
  264. Subject: FAQ?
  265.  
  266. Where can I get one?  Especially for Windows users.
  267.  
  268. leland
  269. -- 
  270.          ==========================================
  271.            "Never mind what's been selling;
  272.             It's what you're buying" - Fugazi
  273.          ==========================================
  274. From news@bigblue.oit.unc.edu Wed May  4 06:27:29 1994
  275. Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  276.           id AA11149; Wed, 4 May 1994 05:32:39 -0400
  277. Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
  278.           id AA19047; Wed, 4 May 1994 05:13:26 -0400
  279. Received: from GATEWAY by bigblue with netnews
  280.     for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
  281. To: winsock@sunsite.unc.edu
  282. Date: Wed, 4 May 1994 06:27:29 GMT
  283. From: babrams@netcom.com (Brian Abrams)
  284. Message-Id: <babramsCp9Lxt.IM8@netcom.com>
  285. Organization: NETCOM On-line Communication Services (408 241-9760 guest)
  286. Sender: ses
  287. Subject: Help - need logon script file for Trumpet winsock -> Netcom SLIP
  288.  
  289. If someone can please help me I would greatly appreciate it.
  290. I have recently installed Trumpet Winsock Version 1.0 in Windows 3.1 to 
  291. be used with NCSA Mosaic.  Unfortunately I can not seem to get my modem 
  292. dialing my SLIP account via Netcom through the login script file.  And 
  293. when I try to use manual login, I can't even type in anything.  Instead 
  294. it immediately responds with "Slip disabled"  After which I can not type 
  295. a thing.
  296.  
  297. Also - once I do get logged in, at that time do I just switch windows and 
  298. pull up Mosaic.  Is that all there is to it?
  299.  
  300. Thanks so much.
  301.  
  302. Brian Abrams (Aaron Scott Associates)     babrams@netcom.com
  303. 3939-E LaVista Road, Suite 554            (404) 934-4282 [voice]
  304. Tucker, GA  30084                         (404) 493-7164 [fax]
  305.  
  306.  
  307. -- 
  308. Brian Abrams (Aaron Scott Associates)     babrams@netcom.com
  309. 3939-E LaVista Road, Suite 554            (404) 934-4282 [voice]
  310. Tucker, GA  30084                         (404) 493-7164 [fax]